@color:red;
.d1{
    width: 200px;
    height: 200px;
    border: 1px solid @color;
}
.d2{
    width: 100px;
    height: 100px;
    border: 1px solid @color;
}